package cn.ruanyun.backInterface.modules.business.profitDetail.vo;

import cn.ruanyun.backInterface.common.enums.AddOrSubtractTypeEnum;
import cn.ruanyun.backInterface.common.enums.BooleanTypeEnum;
import cn.ruanyun.backInterface.common.enums.PayTypeEnum;
import cn.ruanyun.backInterface.common.enums.ProfitDetailEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Administrator
 */

@Data
@Accessors(chain = true)
public class ProfitDetailVo {

    @ApiModelProperty("分红人")
    private String nickName;

    @ApiModelProperty("分红人手机号")
    private String mobile;

    @ApiModelProperty("订单编号")
    private String orderNum;

    @ApiModelProperty("分红总金额")
    private BigDecimal profitTotalMoney;

    @ApiModelProperty("分红金额")
    private BigDecimal profitMoney;

    @ApiModelProperty("分红类型")
    private PayTypeEnum payType;

    @ApiModelProperty("是否分佣成功")
    private BooleanTypeEnum profitStatus;

    @ApiModelProperty("分佣类型")
    private ProfitDetailEnum profitDetailEnum;

    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
